package com.luckdraw.domain;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;


@Table("LuckDraw_codes")
public class Codes {
	
	@Name
	@Column("code_key")
	@ColDefine(type=ColType.VARCHAR,notNull=true,width=36)
	public String key;
	
	@Column("code_value")
	@ColDefine(type=ColType.VARCHAR,notNull=true,width=128)
	public String value;
	
	@Column("code_desc")
	@ColDefine(type=ColType.VARCHAR,notNull=true,width=512)
	private String desc;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

}
